<?php
namespace app\model;

use think\Model;

class Seller extends Model{
    public function sellerType()
    {
        return $this->hasOne('SellerType','id','seller_type_id');
    }

    public function sellerGoodsLists()
    {
        return $this->hasMany('goods','seller_id','id');
    }
}
